var User = require('./_model');

function find(id){
    return new Promise((reslove,reject) => {
        var MyStudent = User;
        MyStudent.find({_id:id}, function(err, docs) {
            reslove(docs)
        });
    })
}

exports.find = find;